package cn.tedu._05weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 微博详情页VO类
 */
@Data
public class WeiboDetailVO {
    // 微博id 微博内容 用户昵称 发布时间
    @ApiModelProperty(value = "微博ID")
    private Long id;
    @ApiModelProperty(value = "微博内容")
    private String content;
    @ApiModelProperty(value = "昵称")
    private String nickname;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "微博发布时间")
    private Date created;
}
